//
//@File    :	3.9_fltadd.cpp
//@Time    :	2021/08/02 16:56:47
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	precision problems with float
//

#include <iostream>

int main()
{
    using namespace std;
    float a = 2.34E+22f;
    float b = a+1.0f;

    cout<<"a = "<<a<<endl;
    cout<<"b-a= "<<b-a<<endl;
    system("pause");
    return 0;
}